package com.example.menuvirtualclient.core;

import java.util.Date;
import java.util.List;

public class OrderDetail {

	private int id;
	private int status;
	private Date date;
	private Order order;
	private Dish dish;
	private List<Comment> comments;
	private int cookingPoint;
	
	public OrderDetail(){
		id = 0;
		status = 0;
		date = new Date();
		order = new Order();
		dish = new Dish();
	}
	
	public OrderDetail(int id){
		this.id = id;
	}
	
	public OrderDetail(int id, int status, Date date, Order order, Dish dish, List<Comment> comments){
		this.id = 0;
		this.status = 0;
		this.date = date;
		this.order = order;
		this.dish = dish;
		this.comments = comments;
	}
	
	public OrderDetail(int id, int status, Date date, Order order, Dish dish, List<Comment> comments, int cookingPoint){
		this.id = 0;
		this.status = 0;
		this.date = date;
		this.order = order;
		this.dish = dish;
		this.comments = comments;
		this.cookingPoint = cookingPoint;
	}
	
	public int getId(){
		return id;
	}
	
	public void setId(int id){
		this.id = id;  
	}
	
	public int getStatus(){
		return status;
	}
	
	public void setStatus(int status){
		this.status = status;  
	}
	
	public Date getDate(){
		return date;
	}
	
	public void setDate(Date date){
		this.date = date;
	}
	
	public Order getOrder(){
		return order;
	}
	
	public void setOrder(Order order){
		this.order = order;
	}
	
	public Dish getDish(){
		return dish;
	}
	
	public void setDish(Dish dish){
		this.dish = dish;
	}
	
	public List<Comment> getComments(){
		return comments;
	}
	
	public void setComments(List<Comment> comments){
		this.comments = comments;
	}

	public int getCookingPoint() {
		return cookingPoint;
	}

	public void setCookingPoint(int cookingPoint) {
		this.cookingPoint = cookingPoint;
	}
	
	

}
